package net.zjitc.yaobei_backed.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Date;

/**
 * 学习任务实体
 */
@Data
@TableName("task")
public class Task {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    private Integer wordbookId;

    /**
     * 目标学习单词数
     */
    private Integer targetWords;

    /**
     * 已完成的单词数
     */
    private Integer finishedWords;

    /**
     * 任务日期
     */
    private Date taskDate;

    /**
     * 任务状态
     */
    private String status;

    private java.sql.Timestamp createdAt;
}









